Skip to content

Fix UpdateSubChunkBlocksPacket#333

Merged
PetteriM1 merged 1 commit intoCloudburstMC:3.0from
valaphee:fix-updatesubchunkblocks
Apr 17, 2026
Merged

Fix UpdateSubChunkBlocksPacket#333
PetteriM1 merged 1 commit intoCloudburstMC:3.0from
valaphee:fix-updatesubchunkblocks

Conversation

@valaphee
Copy link
Copy Markdown
Contributor

@valaphee valaphee commented Apr 17, 2026

UpdateSubChunkBlocksPacket chunkX, Y, Z, are a block position, but where encoded manually and because of the BlockPos change in 944, Y was encoded wrongly (unsigned var-int instead of var-int).

See https://mojang.github.io/bedrock-protocol-docs/docs/UpdateSubChunkBlocksPacket.html

Don't know if it should be done non-breaking or be modified to shift chunkX, Y, Z accordingly

@PetteriM1 PetteriM1 closed this Apr 17, 2026
@PetteriM1 PetteriM1 reopened this Apr 17, 2026
@PetteriM1 PetteriM1 merged commit a720e79 into CloudburstMC:3.0 Apr 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants